package com.guigu.www.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.www.pojo.Pay;
import com.guigu.www.pojo.PayDetails;

import java.util.List;

public interface PayService extends IService<Pay> {
    //查询所以等待审核的出库单申请
   public IPage<Pay> queryByPayCheckTag(int pageno, int pagesize);
    //根据当前出库编号查询
   public Pay queryByPayPayId(String payId);
   //审核当前是否通过
  public   boolean updatePayByChecktag(Pay pay);
  //查询出库审核
  public  IPage<Pay> queryByPayAll(int pageno, int pagesize, Pay pay);
  //根据当前出库的id查询详情
  public  Pay queryByPayPayIdson(String payId);
  //查询所以出库申请审核成功的出库产品
  public  IPage<Pay> queryByPayChecktagtg(int pageno, int pagesize);
   //调度修改当前出库的状态
  public   boolean updatePayByPayId(Pay pay);
  //查询所有调度完成的产品
  public  IPage<Pay> queryPayByChecktagAll(int pageno, int pagesize);
  //根据当前编号查询明细 库存
  public  Pay queryByPayCellPayDetails(String payId);
   //修改出库表状态
  public  boolean updatoutpeyPaydetailsBystatus(Pay pay);
    //查询所有等待审核的出库产品
   public IPage<Pay> queryByPaycheckpending(int pageno, int pagesize);
    //修改当前库存 库存数量减少
    public boolean updateCellstatusaumont(List<PayDetails> payDetails);
    //修改出库表数据
   public boolean updatePayPayDetailsCellstatus(Pay pay);
    //查询所有调度的出库产品
   public IPage<Pay> outPayqllallshow(int pageno, int pagesize);
}
